package com.mayuonline.puppyfood;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;



public class DisclaimerActivity extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.disclaimer);
		
	Button reject = (Button)findViewById(R.id.buttonCancel);
	reject.setOnClickListener(new OnClickListener() {
		
		@Override
		public void onClick(View v) {
			System.exit(0);
			
		}
	});
	
	Button Accept = (Button)findViewById(R.id.buttonAgree);
	Accept.setOnClickListener(new OnClickListener() {
		
		@Override
		public void onClick(View v) {
			Intent define = new Intent(DisclaimerActivity.this, DefineDogyActivity.class);
			startActivity(define);
			
		}
	});
	
	
	}
	
}
